package com.jboost.hyk.common.entity;


import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import com.jboost.common.system.base.entity.JBoostEntity;

/**
 * @Description: 订单明细
 * @Author: cxn
 * @Date:   2022-10-22
 * @Version: V1.0
 */
@Data
@TableName("hyk_order_item")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="hyk_order_item对象", description="订单明细")
public class OrderItem extends JBoostEntity{

    /**orderId*/
    @ApiModelProperty(value = "orderId")
    private String orderId;

    /**商品类型：service_time:服务期；account_num:账号数量；fixed_point:固定时长知识点；auto_point:自动生效知识点*/
    @ApiModelProperty(value = "商品类型：service_time:服务期；account_num:账号数量；fixed_point:固定时长知识点；auto_point:自动生效知识点")
    private String type;

    /**数量*/
    @ApiModelProperty(value = "数量")
    private Integer num;

    /**知识点有效期限（月）*/
    @ApiModelProperty(value = "知识点有效期限（月）")
    private Integer pointValidTime;

    /**知识点自动生效时间（天）*/
    @ApiModelProperty(value = "知识点自动生效时间（天）")
    private Integer pointAutoTime;

    @ApiModelProperty(value = "套餐ID")
    private String packageId;
    @ApiModelProperty(value = "套餐名称")
    private String packageName;

    @ApiModelProperty(value = "套餐快照ID")
    private String packageSnapshotId;

    @ApiModelProperty(value = "套餐自动生效时间（天）")
    private Integer packageAutoTime;

    @ApiModelProperty(value = "套餐有效期限（月）")
    private Integer packageValidTime;

}
